<template>
  <view class="empty-container">
    <u-image width="80" height="60" :src="imgSrc" /><text class="empty-text">{{
      `${props.content}`
    }}</text>
  </view>
</template>
<script lang="ts" setup>
interface Props {
  content: string;
}
const props = withDefaults(defineProps<Props>(), {
  content: '暂无数据',
});

const imgSrc =
  '';
</script>
<style lang="scss" scoped>
.empty-container {
  display: flex;
  justify-content: center;
  align-items: center;
  height: 160rpx;
  background-color: #fff;
  border-radius: 10rpx;
}
.empty-text {
  color: #86909c;
  font-size: 30rpx;
  margin-left: 30rpx;
}
</style>
